package com.zhengqing.app.api;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p> 快速入门 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2024/5/13 13:46
 */
@RestController
@RequestMapping("/api")
@Api(tags = "快速入门")
public class HelloController {

    @ApiOperation("测试")
    @GetMapping("/hello")  // http://localhost:8080/api/hello
    public String hello() {
        return "hello world";
    }

}
